﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Yunzuan.Foundation.Attributes;
using Yunzuan.Foundation.Entities;

namespace CloudDiamonds.Models.DBModels
{
    [Table(TableName = "yz_order_owner", PrimaryKey = "OrderID")]
    public class OrderInfoOwner : OrderInfo
    {
         #region Private Properties
       
        private decimal? _buyDis; //供应商dis
        private decimal? _buyRMBPrice;//供应商rmb
        private decimal? _buyUSDPrice;//供应商usd

         
        //
        #endregion

        #region Public Properties
         
        /// <summary>
        ///供应商 折扣
        /// </summary>
        public decimal? BuyDis
        {
            get { return _buyDis; }
            set { this.ChangeNotify<decimal?>("BuyDis", value, ref _buyDis); }
        }

        /// <summary>
        /// 供应商美金 2017-01-11
        /// </summary>
        public decimal? BuyUSDPrice
        {
            get { return _buyUSDPrice; }
            set { this.ChangeNotify<decimal?>("BuyUSDPrice", value, ref _buyUSDPrice); }
        }
        /// <summary>
        /// 供应商RMB 2017-01-11
        /// </summary>
        public decimal? BuyRMBPrice
        {
            get { return _buyRMBPrice; }
            set { this.ChangeNotify<decimal?>("BuyRMBPrice", value, ref _buyRMBPrice); }
        }
        #endregion
        //供应商价格（底价）
        //public decimal BuyDis { get; set; }
        //public decimal BuyUSDPrice { get; set; }
        //public decimal BuyRMBPrice { get; set; }
    }
}
